for %%a in (*.ppm) do ffmpeg -i "%%~a" "%%~na.png"